home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / Hyper / F / FilmPro.cpt / Job File / background_2603.txt < prev    next >
Encoding:
Text File  |  1988-04-17  |  14.7 KB  |  711 lines

  1. -- background: 2603 from stack: in
  2. -- bmap block id: 5496
  3. -- flags: 4000
  4. -- background id: 0
  5. -- name: Job File Background
  6. ----- HyperTalk script -----
  7. on openstack
  8.   hide background field "hidden keywords"
  9.  
  10. end openstack
  11.  
  12. on closestack
  13.   if the freesize of this stack > 0.15 * the size of this stack then
  14.     set cursor to 4
  15.     domenu "compact stack"
  16.   end if
  17. end closestack
  18.  
  19.  
  20.  
  21.  
  22. -- part 1 (button)
  23. -- low flags: 00
  24. -- high flags: 0000
  25. -- rect: left=253 top=25 right=58 bottom=297
  26. -- title width / last selected line: 0
  27. -- icon id / first selected line: 0 / 0
  28. -- text alignment: 1
  29. -- font id: 0
  30. -- text size: 12
  31. -- style flags: 0
  32. -- line height: 16
  33. -- part name: Keywords
  34. ----- HyperTalk script -----
  35. on mouseUp
  36.   play "harpsichord"
  37.   show background field "hidden keywords"
  38.   answer "New Keywords will replace old ones" with "Cancel" or "Okay"
  39.   if it is "okay" then
  40.     ask "Enter Keywords for this Job"
  41.     put it into background field "hidden keywords"
  42.   end if
  43.   hide background field "hidden keywords"
  44.  
  45.  
  46. end mouseUp
  47.  
  48.  
  49.  
  50. -- part 2 (button)
  51. -- low flags: 00
  52. -- high flags: 0000
  53. -- rect: left=303 top=28 right=57 bottom=333
  54. -- title width / last selected line: 0
  55. -- icon id / first selected line: 8538 / 8538
  56. -- text alignment: 1
  57. -- font id: 0
  58. -- text size: 12
  59. -- style flags: 0
  60. -- line height: 16
  61. -- part name: find
  62. ----- HyperTalk script -----
  63. on mouseUp
  64.   play harpsichord
  65.   domenu "find..."
  66. end mouseUp
  67.  
  68.  
  69.  
  70. -- part 3 (button)
  71. -- low flags: 00
  72. -- high flags: 0000
  73. -- rect: left=340 top=26 right=57 bottom=375
  74. -- title width / last selected line: 0
  75. -- icon id / first selected line: 20186 / 20186
  76. -- text alignment: 1
  77. -- font id: 0
  78. -- text size: 12
  79. -- style flags: 0
  80. -- line height: 16
  81. -- part name: Sort
  82. ----- HyperTalk script -----
  83. on mouseUp
  84.   play "harpsichord"
  85.   answer "Sort all cards according to:" with "Product" or  "Title" or "Job #"
  86.   if it is "Product"
  87.   then sort by first word of first line of background field "Product"
  88. else if it is "Title"
  89. then sort  by first word of background field "Title"
  90. else if it is "Job #"
  91. then sort numeric by first word of  background field "Job #"
  92.  
  93. end mouseUp
  94.  
  95.  
  96.  
  97. -- part 4 (button)
  98. -- low flags: 00
  99. -- high flags: 0003
  100. -- rect: left=421 top=30 right=54 bottom=450
  101. -- title width / last selected line: 0
  102. -- icon id / first selected line: 10610 / 10610
  103. -- text alignment: 1
  104. -- font id: 0
  105. -- text size: 12
  106. -- style flags: 0
  107. -- line height: 16
  108. -- part name: Dial
  109. ----- HyperTalk script -----
  110. on mouseUp
  111.   dial first word of line one of field "phone" with modem "ATDT"
  112.  
  113. end mouseUp
  114.  
  115.  
  116.  
  117. -- part 5 (button)
  118. -- low flags: 00
  119. -- high flags: 2000
  120. -- rect: left=245 top=309 right=332 bottom=271
  121. -- title width / last selected line: 0
  122. -- icon id / first selected line: 1014 / 1014
  123. -- text alignment: 1
  124. -- font id: 0
  125. -- text size: 12
  126. -- style flags: 0
  127. -- line height: 16
  128. -- part name: Prev
  129. ----- HyperTalk script -----
  130. on mouseUp
  131.   visual effect scroll right fast to black
  132.   visual effect scroll right fast
  133.   go to prev card
  134. end mouseUp
  135.  
  136.  
  137.  
  138. -- part 6 (button)
  139. -- low flags: 00
  140. -- high flags: 2000
  141. -- rect: left=277 top=309 right=332 bottom=302
  142. -- title width / last selected line: 0
  143. -- icon id / first selected line: 1013 / 1013
  144. -- text alignment: 1
  145. -- font id: 0
  146. -- text size: 12
  147. -- style flags: 0
  148. -- line height: 16
  149. -- part name: Next
  150. ----- HyperTalk script -----
  151. on mouseUp
  152.   visual effect scroll left fast to black
  153.   visual effect scroll left fast
  154.   go to next card
  155. end mouseUp
  156.  
  157.  
  158.  
  159. -- part 7 (button)
  160. -- low flags: 00
  161. -- high flags: 2000
  162. -- rect: left=212 top=28 right=56 bottom=246
  163. -- title width / last selected line: 0
  164. -- icon id / first selected line: 32462 / 32462
  165. -- text alignment: 1
  166. -- font id: 0
  167. -- text size: 12
  168. -- style flags: 0
  169. -- line height: 16
  170. -- part name: Button Help 
  171. ----- HyperTalk script -----
  172.  
  173.  
  174. on mouseup
  175.   push this card
  176.   set cursor to 4
  177.   visual effect barn door open
  178.   go to stack "FilmPro Help"
  179. end mouseup
  180.  
  181.  
  182.  
  183. -- part 9 (button)
  184. -- low flags: 00
  185. -- high flags: 0000
  186. -- rect: left=461 top=25 right=58 bottom=500
  187. -- title width / last selected line: 0
  188. -- icon id / first selected line: 1007 / 1007
  189. -- text alignment: 1
  190. -- font id: 0
  191. -- text size: 12
  192. -- style flags: 0
  193. -- line height: 16
  194. -- part name: Print
  195. ----- HyperTalk script -----
  196. on mouseUp
  197.   play harpsichord
  198.   answer "Proceed with Printing?" with "This Card" or "This Stack" or "Cancel"
  199.   if it is "This Card" then domenu "Print card"
  200.   else if it is "This Stack" then domenu "Print stack..."
  201. end mouseUp
  202.  
  203.  
  204.  
  205. -- part 11 (button)
  206. -- low flags: 00
  207. -- high flags: 2000
  208. -- rect: left=4 top=214 right=251 bottom=40
  209. -- title width / last selected line: 65535
  210. -- icon id / first selected line: -15743 / 49793
  211. -- text alignment: 1
  212. -- font id: 0
  213. -- text size: 12
  214. -- style flags: 0
  215. -- line height: 16
  216. -- part name: Crews Stack Button
  217. ----- HyperTalk script -----
  218. on mouseUp
  219.   set cursor to 4
  220.   push this card
  221.   visual effect dissolve  to white
  222.   visual effect dissolve
  223.   go to stack "crews"
  224. end mouseUp
  225.  
  226.  
  227.  
  228. -- part 12 (button)
  229. -- low flags: 00
  230. -- high flags: 2000
  231. -- rect: left=0 top=260 right=295 bottom=43
  232. -- title width / last selected line: 0
  233. -- icon id / first selected line: 9761 / 9761
  234. -- text alignment: 1
  235. -- font id: 0
  236. -- text size: 12
  237. -- style flags: 0
  238. -- line height: 16
  239. -- part name: Locations Stack Button
  240. ----- HyperTalk script -----
  241. on mouseUp
  242.   set cursor to 4
  243.   push card
  244.   visual effect dissolve  to white
  245.   visual effect dissolve
  246.   go to stack "Locations"
  247. end mouseUp
  248.  
  249.  
  250.  
  251.  
  252. -- part 13 (button)
  253. -- low flags: 00
  254. -- high flags: 2000
  255. -- rect: left=2 top=58 right=95 bottom=42
  256. -- title width / last selected line: 0
  257. -- icon id / first selected line: 2002 / 2002
  258. -- text alignment: 1
  259. -- font id: 0
  260. -- text size: 12
  261. -- style flags: 0
  262. -- line height: 16
  263. -- part name: Client Stack Button
  264. ----- HyperTalk script -----
  265. on mouseUp
  266.   set cursor to 4
  267.   push this card
  268.   visual effect dissolve  to white
  269.   visual effect dissolve
  270.   go to stack Clients
  271. end mouseUp
  272.  
  273.  
  274.  
  275. -- part 14 (button)
  276. -- low flags: 00
  277. -- high flags: 2000
  278. -- rect: left=47 top=301 right=331 bottom=79
  279. -- title width / last selected line: 0
  280. -- icon id / first selected line: 29114 / 29114
  281. -- text alignment: 1
  282. -- font id: 0
  283. -- text size: 12
  284. -- style flags: 0
  285. -- line height: 16
  286. -- part name: return
  287. ----- HyperTalk script -----
  288. on mouseUp
  289.   visual effect wipe left fast to black
  290.   visual effect wipe right fast
  291.   pop card
  292. end mouseUp
  293.  
  294.  
  295.  
  296. -- part 15 (button)
  297. -- low flags: 00
  298. -- high flags: 2000
  299. -- rect: left=8 top=183 right=210 bottom=36
  300. -- title width / last selected line: 0
  301. -- icon id / first selected line: 0 / 0
  302. -- text alignment: 1
  303. -- font id: 0
  304. -- text size: 12
  305. -- style flags: 0
  306. -- line height: 16
  307. -- part name: memos
  308. ----- HyperTalk script -----
  309. on mouseUp
  310.   set cursor to 4
  311.   push this card
  312.   visual effect dissolve  to white
  313.   visual effect dissolve
  314.   go to last card in stack memos
  315.  
  316.  
  317.  
  318. end mouseUp
  319.  
  320.  
  321.  
  322. -- part 16 (button)
  323. -- low flags: 00
  324. -- high flags: 2000
  325. -- rect: left=3 top=139 right=176 bottom=40
  326. -- title width / last selected line: 0
  327. -- icon id / first selected line: 18814 / 18814
  328. -- text alignment: 1
  329. -- font id: 0
  330. -- text size: 12
  331. -- style flags: 0
  332. -- line height: 16
  333. -- part name: Call Sheets
  334. ----- HyperTalk script -----
  335. on mouseUp
  336.   set cursor to 4
  337.   push this card
  338.   visual effect dissolve  to white
  339.   visual effect dissolve
  340.   go to last card in stack Call Sheets
  341.  
  342. end mouseUp
  343.  
  344.  
  345.  
  346. -- part 19 (button)
  347. -- low flags: 00
  348. -- high flags: 2000
  349. -- rect: left=1 top=99 right=132 bottom=42
  350. -- title width / last selected line: 0
  351. -- icon id / first selected line: 0 / 0
  352. -- text alignment: 1
  353. -- font id: 0
  354. -- text size: 12
  355. -- style flags: 0
  356. -- line height: 16
  357. -- part name: jobs stack button
  358. ----- HyperTalk script -----
  359. on mouseUp
  360.   beep
  361.   answer "You are already in the Job File Stack"
  362. end mouseUp
  363.  
  364.  
  365.  
  366. -- part 22 (field)
  367. -- low flags: 00
  368. -- high flags: 4000
  369. -- rect: left=102 top=33 right=50 bottom=205
  370. -- title width / last selected line: 0
  371. -- icon id / first selected line: 0 / 0
  372. -- text alignment: 1
  373. -- font id: 3
  374. -- text size: 12
  375. -- style flags: 256
  376. -- line height: 16
  377. -- part name: Job #
  378.  
  379.  
  380. -- part 23 (field)
  381. -- low flags: 00
  382. -- high flags: 4000
  383. -- rect: left=162 top=65 right=131 bottom=500
  384. -- title width / last selected line: 0
  385. -- icon id / first selected line: 0 / 0
  386. -- text alignment: 0
  387. -- font id: 3
  388. -- text size: 12
  389. -- style flags: 0
  390. -- line height: 16
  391. -- part name: Client
  392.  
  393.  
  394. -- part 38 (field)
  395. -- low flags: 00
  396. -- high flags: 4000
  397. -- rect: left=162 top=132 right=148 bottom=500
  398. -- title width / last selected line: 0
  399. -- icon id / first selected line: 0 / 0
  400. -- text alignment: 0
  401. -- font id: 3
  402. -- text size: 12
  403. -- style flags: 0
  404. -- line height: 16
  405. -- part name: Phone
  406.  
  407.  
  408. -- part 24 (field)
  409. -- low flags: 00
  410. -- high flags: 4000
  411. -- rect: left=117 top=158 right=174 bottom=262
  412. -- title width / last selected line: 0
  413. -- icon id / first selected line: 0 / 0
  414. -- text alignment: 0
  415. -- font id: 3
  416. -- text size: 12
  417. -- style flags: 0
  418. -- line height: 16
  419. -- part name: Product
  420.  
  421.  
  422. -- part 25 (field)
  423. -- low flags: 00
  424. -- high flags: 4000
  425. -- rect: left=302 top=158 right=175 bottom=500
  426. -- title width / last selected line: 0
  427. -- icon id / first selected line: 0 / 0
  428. -- text alignment: 0
  429. -- font id: 3
  430. -- text size: 12
  431. -- style flags: 0
  432. -- line height: 16
  433. -- part name: Title
  434.  
  435.  
  436. -- part 39 (field)
  437. -- low flags: 00
  438. -- high flags: 4000
  439. -- rect: left=126 top=175 right=191 bottom=274
  440. -- title width / last selected line: 0
  441. -- icon id / first selected line: 0 / 0
  442. -- text alignment: 0
  443. -- font id: 3
  444. -- text size: 12
  445. -- style flags: 0
  446. -- line height: 16
  447. -- part name: Producer
  448.  
  449.  
  450. -- part 41 (field)
  451. -- low flags: 00
  452. -- high flags: 4000
  453. -- rect: left=347 top=175 right=193 bottom=500
  454. -- title width / last selected line: 0
  455. -- icon id / first selected line: 0 / 0
  456. -- text alignment: 0
  457. -- font id: 3
  458. -- text size: 12
  459. -- style flags: 0
  460. -- line height: 16
  461. -- part name: Director
  462.  
  463.  
  464. -- part 43 (field)
  465. -- low flags: 00
  466. -- high flags: 4000
  467. -- rect: left=155 top=192 right=208 bottom=265
  468. -- title width / last selected line: 0
  469. -- icon id / first selected line: 0 / 0
  470. -- text alignment: 0
  471. -- font id: 3
  472. -- text size: 12
  473. -- style flags: 0
  474. -- line height: 16
  475. -- part name: Originate On:
  476.  
  477.  
  478. -- part 44 (field)
  479. -- low flags: 00
  480. -- high flags: 4000
  481. -- rect: left=335 top=193 right=209 bottom=445
  482. -- title width / last selected line: 0
  483. -- icon id / first selected line: 0 / 0
  484. -- text alignment: 0
  485. -- font id: 3
  486. -- text size: 12
  487. -- style flags: 0
  488. -- line height: 16
  489. -- part name: Edit On:
  490.  
  491.  
  492. -- part 33 (field)
  493. -- low flags: 00
  494. -- high flags: 4000
  495. -- rect: left=146 top=210 right=260 bottom=499
  496. -- title width / last selected line: 0
  497. -- icon id / first selected line: 0 / 0
  498. -- text alignment: 0
  499. -- font id: 3
  500. -- text size: 12
  501. -- style flags: 0
  502. -- line height: 16
  503. -- part name: Description
  504.  
  505.  
  506. -- part 34 (field)
  507. -- low flags: 00
  508. -- high flags: 4000
  509. -- rect: left=165 top=261 right=278 bottom=306
  510. -- title width / last selected line: 0
  511. -- icon id / first selected line: 0 / 0
  512. -- text alignment: 0
  513. -- font id: 3
  514. -- text size: 12
  515. -- style flags: 0
  516. -- line height: 16
  517. -- part name: Shoot Days
  518.  
  519.  
  520. -- part 35 (field)
  521. -- low flags: 00
  522. -- high flags: 4000
  523. -- rect: left=376 top=260 right=277 bottom=501
  524. -- title width / last selected line: 0
  525. -- icon id / first selected line: 0 / 0
  526. -- text alignment: 0
  527. -- font id: 3
  528. -- text size: 12
  529. -- style flags: 0
  530. -- line height: 16
  531. -- part name: Edit Days
  532.  
  533.  
  534. -- part 36 (field)
  535. -- low flags: 00
  536. -- high flags: 4000
  537. -- rect: left=125 top=278 right=311 bottom=239
  538. -- title width / last selected line: 0
  539. -- icon id / first selected line: 0 / 0
  540. -- text alignment: 0
  541. -- font id: 3
  542. -- text size: 12
  543. -- style flags: 0
  544. -- line height: 16
  545. -- part name: Deadline
  546.  
  547.  
  548. -- part 37 (field)
  549. -- low flags: 00
  550. -- high flags: 4000
  551. -- rect: left=354 top=278 right=310 bottom=501
  552. -- title width / last selected line: 0
  553. -- icon id / first selected line: 0 / 0
  554. -- text alignment: 0
  555. -- font id: 3
  556. -- text size: 12
  557. -- style flags: 0
  558. -- line height: 16
  559. -- part name: Dub/Print Order
  560.  
  561.  
  562. -- part 47 (button)
  563. -- low flags: 00
  564. -- high flags: 2000
  565. -- rect: left=62 top=66 right=93 bottom=96
  566. -- title width / last selected line: 0
  567. -- icon id / first selected line: 17481 / 17481
  568. -- text alignment: 1
  569. -- font id: 0
  570. -- text size: 12
  571. -- style flags: 0
  572. -- line height: 16
  573. -- part name: CONTACT ADDRESS
  574. ----- HyperTalk script -----
  575. on mouseUp
  576.   if line one of bkgnd field client is empty then
  577.     beep
  578.     answer "Enter Contact's Name Please"
  579.     get the loc of bkgnd field "job #"
  580.     click at it
  581.     tabkey
  582.   else if line one of bkgnd field client is not empty then
  583.     push card
  584.     set cursor to 4
  585.     put line one of bkgnd field client into holder
  586.     set lockscreen to true
  587.     go to stack clients
  588.     find holder
  589.     if the result is not empty then
  590.       beep
  591.       answer "Can't find that name in Client Stack"
  592.       pop card
  593.     else if the result is empty then
  594.       tabkey
  595.       put selection into holder2
  596.       tabkey
  597.       put selection into temp
  598.       pop card
  599.       put holder2 into bkgnd field client
  600.       put temp into bkgnd field phone
  601.       set lockscreen to false
  602.       get the loc of bkgnd field phone
  603.       click at it
  604.       tabkey
  605.     end if
  606.   end if
  607. end mouseUp
  608.  
  609.  
  610.  
  611. -- part 42 (button)
  612. -- low flags: 00
  613. -- high flags: 2000
  614. -- rect: left=383 top=24 right=59 bottom=414
  615. -- title width / last selected line: 0
  616. -- icon id / first selected line: 1004 / 1004
  617. -- text alignment: 1
  618. -- font id: 0
  619. -- text size: 12
  620. -- style flags: 0
  621. -- line height: 16
  622. -- part name: Letter
  623. ----- HyperTalk script -----
  624. on mouseup
  625.   get the loc of bkgnd field "job #"
  626.   click at it
  627.   tabkey
  628.   if bkgnd field "client" is empty then
  629.     play harpsichord
  630.     answer "There is no Name and Address to Copy."
  631.     exit mouseup
  632.   end if
  633.  
  634.   domenu "copy text"
  635.   play harpsichord
  636.   ask "Which Word Processing Program?"
  637.   put it into wp
  638.   if it is not empty then
  639.     open wp
  640.   else if it is empty then
  641.     exit mouseup
  642.   end if
  643.  
  644. end mouseup
  645.  
  646.  
  647.  
  648. -- part 20 (field)
  649. -- low flags: 80
  650. -- high flags: 0001
  651. -- rect: left=208 top=24 right=58 bottom=503
  652. -- title width / last selected line: 0
  653. -- icon id / first selected line: 0 / 0
  654. -- text alignment: 0
  655. -- font id: 3
  656. -- text size: 12
  657. -- style flags: 0
  658. -- line height: 16
  659. -- part name: hidden keywords
  660.  
  661.  
  662. -- part 45 (button)
  663. -- low flags: 00
  664. -- high flags: 2000
  665. -- rect: left=1 top=23 right=55 bottom=42
  666. -- title width / last selected line: 0
  667. -- icon id / first selected line: 0 / 0
  668. -- text alignment: 1
  669. -- font id: 0
  670. -- text size: 12
  671. -- style flags: 0
  672. -- line height: 16
  673. -- part name: filmpro
  674. ----- HyperTalk script -----
  675. on mouseUp
  676.   set cursor to 4
  677.   push this card
  678.   visual effect dissolve to white
  679.   visual effect dissolve
  680.   go to card id 2844 of stack "FilmPro "
  681. end mouseUp
  682.  
  683.  
  684.  
  685.  
  686. -- part 46 (button)
  687. -- low flags: 00
  688. -- high flags: 2000
  689. -- rect: left=4 top=299 right=333 bottom=40
  690. -- title width / last selected line: 0
  691. -- icon id / first selected line: 17343 / 17343
  692. -- text alignment: 1
  693. -- font id: 0
  694. -- text size: 12
  695. -- style flags: 0
  696. -- line height: 16
  697. -- part name: Application
  698. ----- HyperTalk script -----
  699. on mouseUp
  700.   play harpsichord
  701.   ask "Which application would you like to open?"
  702.   if it is not empty then
  703.     suspend
  704.     open it
  705.   else if it is empty then
  706.     exit mouseup
  707.   end if
  708.  
  709. end mouseUp
  710.  
  711.